import { registerAs } from '@nestjs/config';

export default registerAs('common', () => ({
  title: '测试',
  secret: 'winter',
  cookie_maxAge: 60 * 60 * 60 * 24,
  port: 3000,
  jwt: {
    secret: 'winter',
    expiresIn: '1d',
  },
  redis: {
    host: '127.0.0.1',
    port: 6379,
    password: '',
  },
}));
